.386
CODE   SEGMENT   USE16
       ASSUME     CS:CODE
BEG:    MOV    BX,5678H
        MOV    CX,16
LAST:   MOV    AL,'0'
	ROL    BX,1
	JNC    NEXT
	MOV    AL,'1'
NEXT:   MOV    AH,0EH
        INT    10H
        LOOP   LAST
        MOV    AH,4CH
        INT    21H
        CODE   ENDS
END    BEG